package com.teemo.dp.facade;

/**
 * @author Teemo
 */
public class Receptionist {
    private RoleA roleA=new RoleA();
    private RoleB roleB=new RoleB();
    private RoleC roleC=new RoleC();

    public String order(String foodName){
        String s = roleA.doSomething(foodName);
        String s1 = roleB.doSomething(s);
        return roleC.doSomething(s1);
    }
}
